<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@page import="com.gxl.Entity.Content"%>
<%@page import="java.util.List"%>

<%
	 List<Content> s= new ArrayList<Content>();
     s =(List<Content>)request.getSession().getAttribute("pushlist_1");  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <title >显示招聘信息
  </title>
    <base href="<%=basePath%>">
    

    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  
  <center><h1>招聘信息</h1>
  <table  border="1">
  <tr>
  <th>编号</th>
  <th>标题</th>
  <th>发布者</th>
  <th>详情</th>
  <th>报名</th>
  </tr>
<% 
for(int i=0; i<s.size();i++){
 %>
  <tr>
  <td > <%=i+1 %></td>
  <td > <%=s.get(i).getCTitle() %></td>
  <td> <%=s.get(i).getCAuthor() %></td>
  <td>  <a href="show_pushlist.jsp?x=<%=i %>">查看详情</td>
  <td>  <a href="student_baoming.jsp?companyno=<%=s.get(i).getCCompanyNo()%>&contentid=<%=s.get(i).getId()%>">我想报名</a>
  </tr>
  
  <%} %>
  
  
  </table>
  
  
  </center>
 
  </body>
</html>
